670ac5dd95ed3928aa9e23157bdf7f2241904ad9,core/api/src/test/java/org/onosproject/net/intent/LinkCollectionIntentTest.java,LinkCollectionIntentTest,testConstructor,#,105
Before Change
.treatment(treatment)
.links(links1)
.ingressPoints(ImmutableSet.of(ingress))
.egressPoints(ImmutableSet.of(egress))
.build();
final Set<Link> createdLinks = collectionIntent.links();
assertThat(createdLinks, hasSize(1));
After Change
.treatment(treatment)
.links(links1)
.ingressPoints(ImmutableSet.of(ingress))
.egressPoints(ImmutableSet.of(egress))
.resourceGroup(resourceGroup)
.build();
final Set<Link> createdLinks = collectionIntent.links();
assertThat(createdLinks, hasSize(1));